<?php

namespace app\common\model\xiluedu;


use think\Model;

class UserMessageAccount extends Model
{
    protected $name = 'xiluedu_user_message_account';



    public static function addAccount($user_id){
        $account = static::where('user_id',$user_id)->find();
        if(!$account){
            return static::create([
                'user_id'   =>  $user_id
            ]);
        }
    }

}